import request from "../utils/request"

export const getArticles=(params)=>{
    return request({
        method:"get",
        url:"/newuser/articles", 
        params
    })
}
//根据文章的编号来获取文章的详情数据
export const getArticlesById=(articleId)=>{
    return request({
        method:"get",
        url:"/newuser/articlebyid", 
        params:
        {
            articleId 

        }
    })
}
